package org.steven.crm.core;

/**
 * @Author wuzw
 * @Date 2021/6/21 22:34
 * @Version 1.0
 */
public class Constants {
    public static final String DEFAULT_SORT_SQL = "order by sortIndex, id desc";

    public static final String DEFAULT_SORT_SQL_SORTINDEX_ID = "order by sortIndex, id";

    public static final String USER_CODE_PRE = "QF";

    public static final String VISITOR_CODE_PRE = "RSYY";

    public interface GrantType {
        String CODE = "CODE";
        String PASSWORD = "PASSWORD";
        String OPENID = "OPENID";
    }

    public static class CLIENT {
        public static String ADMIN_WEB = "1";
        public static String WECHAT_APP = "2";
    }

    public static class PayStatus {
        public static String UN_PAY = "0";
        public static String PAY_SOME = "1";

        public static String PAY_ALL = "2";
    }
}
